package com.xbongbong.pro.statistic.pojo.vo;

import com.xbongbong.paas.toolbox.wrap.BaseVO;
import com.xbongbong.pro.statistic.pojo.ConditionPojo;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.util.ArrayList;
import java.util.List;

/**
 * @author 梁鲁江
 * @version v1.0
 * @date 2019/1/21 20:32
 * @since v1.0
 */
@Getter
@Setter
@ToString
public class AttrConditionVO  extends BaseVO{
    private static final long serialVersionUID = 1109938886958932374L;
    /**
     * 返回条件
     */
    private List<ConditionPojo> conditionList;

    public AttrConditionVO() {
        this.conditionList = new ArrayList<>();
    }

    public void addConditionList(ConditionPojo conditionPojo) {
        this.conditionList.add( conditionPojo );
    }
}
